package com.wh.wisdomsite.xbox.server.task.base;

public abstract class BaseTask implements BaseTaskInterface {

	// 初始化延迟
	private long initialDelay;
	// 执行间隔
	private long period;
	// 固定执行时间
	private String fixedTime;
	//描述
	private String description;

	public long getInitialDelay() {
		return initialDelay;
	}

	public void setInitialDelay(long initialDelay) {
		this.initialDelay = initialDelay;
	}

	public long getPeriod() {
		return period;
	}

	public void setPeriod(long period) {
		this.period = period;
	}

	public String getFixedTime() {
		return fixedTime;
	}

	public void setFixedTime(String fixedTime) {
		this.fixedTime = fixedTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void run() {

		doTask();
	}

}
